/**********************************************************************
 *@Project： CloudTest
 *@File: SystemSerializationOptimizer
 *@Date: 2017/3/3
 *@Copyright (C) 2013-2017 http://www.posun.cn. All Rights Reserved.
 ***********************************************************************
 *注意： 本内容仅限于深圳市普盛实业有限公司内部使用，禁止外泄
 **********************************************************************
 */
package com.posun.edu.system.support;

import com.posun.edu.system.entity.Dict;
import com.posun.edu.system.entity.DictItem;
import com.posun.framework.orm.domain.Pageable;
import com.posun.framework.orm.domain.Searchable;
import com.posun.framework.orm.domain.filter.AggregateDescriptor;
import com.posun.framework.orm.helper.SqlProcessor;
import com.posun.framework.support.CommonSerializationOptimizer;

import java.util.Collection;

/**
 * <p>
 * TODO<br>
 *
 * @author YL
 * @version 1.0
 * @createTime 2017/3/3 22:42
 * @ChangeLog
 */
public class SystemSerializationOptimizer extends CommonSerializationOptimizer {

    public Collection<Class> getSerializableClasses() {
        Collection<Class> classes = super.getSerializableClasses();
        classes.add(Dict.class);
        classes.add(DictItem.class);
        classes.add(Searchable.class);
        classes.add(SqlProcessor.class);
        classes.add(Pageable.class);
        classes.add(AggregateDescriptor.class);
        return classes;
    }
}
